Use PEGetReportTitle to retrieve the handle of the report title string in the report summary information. If the job is a subreport, it returns the handle of the subreport name. Use this function with PEGetHandleString. Use PESetReportTitle, to pass back a report title. The series can be used in Custom
BOOL CRPE_API PEGetReportTitle (
short printJob,
HANDLE FAR *titleHandle,
short FAR *titleLength );
Specifies the print job for which you want to get the report title. | |
Specifies a pointer to the length of the title string (in bytes) including the terminating byte. |
VB Sample Code for modifying title, options, margins, and date |
Declare Function PEGetReportTitle Lib "crpe32.dll" (
ByVal printJob As Integer, TitleHandle As Long, TitleLength As Integer
) As Integer
function PEGetReportTitle (
printJob: Word;
var titleHandle: HWnd;
var titleLength: Word
): Bool stdcall;
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |